package com.web.pojo.domain;

import java.io.Serializable;

/**
 * @Author: wws
 * describe:
 */
public class DeviceWorkParameters implements Serializable {
    private Integer deviceId;//
    private Byte channel1SwitchStatus;//通道一开关状态
    private Byte channel2SwitchStatus;//通道二开关状态
    private Byte channel1Manual;//通道一手动控制状态 0：关闭；1：打开；255：无效；
    private Byte channel1Remotely;//通道一远程控制状态 0：关闭；1：打开；255：无效；
    private Byte channel1Timing;//通道一自动控制状态 0：关闭；1：打开；255：无效；
    private Byte channel2Manual;//通道二手动控制状态 0：关闭；1：打开；255：无效；
    private Byte channel2Remotely;//通道二远程控制状态 0：关闭；1：打开；255：无效；
    private Byte channel2Timing;//通道二自动控制状态 0：关闭；1：打开；255：无效；
    private Byte channel1DimmingLevel;//通道二调关等级
    private Byte channel2DimmingLevel;//通道二调关等级
    private Float temperature;//开关温度
    private Float humidity;//开关湿度
    private Float dewPoint;//开关露点
    private Byte battery;//开关电源/电池量
    private Byte deviceStatus;//设备状态
    private Integer channel1ElectrifyTime;//通道一通电时间
    private Integer channel2ElectrifyTime;//通道二通电时间
    private Integer operatingHours;//工作时间
    private Byte reportHour;//上报周期---小时
    private Byte reportMinute;//上报周期---分钟
    private String communicationType;//通信类型
    private String upstreamChannel;//上行通道
    private String versionNumber;//版本号
    private String productNumber;//产品型号

    public DeviceWorkParameters() {
    }

    public DeviceWorkParameters(Integer deviceId, Byte channel1SwitchStatus, Byte channel2SwitchStatus, Byte channel1Manual, Byte channel1Remotely, Byte channel1Timing, Byte channel2Manual, Byte channel2Remotely, Byte channel2Timing, Byte channel1DimmingLevel, Byte channel2DimmingLevel, Float temperature, Float humidity, Float dewPoint, Byte battery, Byte deviceStatus, Integer channel1ElectrifyTime, Integer channel2ElectrifyTime, Integer operatingHours, Byte reportHour, Byte reportMinute, String communicationType, String upstreamChannel, String versionNumber, String productNumber) {
        this.deviceId = deviceId;
        this.channel1SwitchStatus = channel1SwitchStatus;
        this.channel2SwitchStatus = channel2SwitchStatus;
        this.channel1Manual = channel1Manual;
        this.channel1Remotely = channel1Remotely;
        this.channel1Timing = channel1Timing;
        this.channel2Manual = channel2Manual;
        this.channel2Remotely = channel2Remotely;
        this.channel2Timing = channel2Timing;
        this.channel1DimmingLevel = channel1DimmingLevel;
        this.channel2DimmingLevel = channel2DimmingLevel;
        this.temperature = temperature;
        this.humidity = humidity;
        this.dewPoint = dewPoint;
        this.battery = battery;
        this.deviceStatus = deviceStatus;
        this.channel1ElectrifyTime = channel1ElectrifyTime;
        this.channel2ElectrifyTime = channel2ElectrifyTime;
        this.operatingHours = operatingHours;
        this.reportHour = reportHour;
        this.reportMinute = reportMinute;
        this.communicationType = communicationType;
        this.upstreamChannel = upstreamChannel;
        this.versionNumber = versionNumber;
        this.productNumber = productNumber;
    }

    public Integer getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(Integer deviceId) {
        this.deviceId = deviceId;
    }

    public Byte getChannel1SwitchStatus() {
        return channel1SwitchStatus;
    }

    public void setChannel1SwitchStatus(Byte channel1SwitchStatus) {
        this.channel1SwitchStatus = channel1SwitchStatus;
    }

    public Byte getChannel2SwitchStatus() {
        return channel2SwitchStatus;
    }

    public void setChannel2SwitchStatus(Byte channel2SwitchStatus) {
        this.channel2SwitchStatus = channel2SwitchStatus;
    }

    public Byte getChannel1Manual() {
        return channel1Manual;
    }

    public void setChannel1Manual(Byte channel1Manual) {
        this.channel1Manual = channel1Manual;
    }

    public Byte getChannel1Remotely() {
        return channel1Remotely;
    }

    public void setChannel1Remotely(Byte channel1Remotely) {
        this.channel1Remotely = channel1Remotely;
    }

    public Byte getChannel1Timing() {
        return channel1Timing;
    }

    public void setChannel1Timing(Byte channel1Timing) {
        this.channel1Timing = channel1Timing;
    }

    public Byte getChannel2Manual() {
        return channel2Manual;
    }

    public void setChannel2Manual(Byte channel2Manual) {
        this.channel2Manual = channel2Manual;
    }

    public Byte getChannel2Remotely() {
        return channel2Remotely;
    }

    public void setChannel2Remotely(Byte channel2Remotely) {
        this.channel2Remotely = channel2Remotely;
    }

    public Byte getChannel2Timing() {
        return channel2Timing;
    }

    public void setChannel2Timing(Byte channel2Timing) {
        this.channel2Timing = channel2Timing;
    }

    public Byte getChannel1DimmingLevel() {
        return channel1DimmingLevel;
    }

    public void setChannel1DimmingLevel(Byte channel1DimmingLevel) {
        this.channel1DimmingLevel = channel1DimmingLevel;
    }

    public Byte getChannel2DimmingLevel() {
        return channel2DimmingLevel;
    }

    public void setChannel2DimmingLevel(Byte channel2DimmingLevel) {
        this.channel2DimmingLevel = channel2DimmingLevel;
    }

    public Float getTemperature() {
        return temperature;
    }

    public void setTemperature(Float temperature) {
        this.temperature = temperature;
    }

    public Float getHumidity() {
        return humidity;
    }

    public void setHumidity(Float humidity) {
        this.humidity = humidity;
    }

    public Float getDewPoint() {
        return dewPoint;
    }

    public void setDewPoint(Float dewPoint) {
        this.dewPoint = dewPoint;
    }

    public Byte getBattery() {
        return battery;
    }

    public void setBattery(Byte battery) {
        this.battery = battery;
    }

    public Byte getDeviceStatus() {
        return deviceStatus;
    }

    public void setDeviceStatus(Byte deviceStatus) {
        this.deviceStatus = deviceStatus;
    }

    public Integer getChannel1ElectrifyTime() {
        return channel1ElectrifyTime;
    }

    public void setChannel1ElectrifyTime(Integer channel1ElectrifyTime) {
        this.channel1ElectrifyTime = channel1ElectrifyTime;
    }

    public Integer getChannel2ElectrifyTime() {
        return channel2ElectrifyTime;
    }

    public void setChannel2ElectrifyTime(Integer channel2ElectrifyTime) {
        this.channel2ElectrifyTime = channel2ElectrifyTime;
    }

    public Integer getOperatingHours() {
        return operatingHours;
    }

    public void setOperatingHours(Integer operatingHours) {
        this.operatingHours = operatingHours;
    }

    public Byte getReportHour() {
        return reportHour;
    }

    public void setReportHour(Byte reportHour) {
        this.reportHour = reportHour;
    }

    public Byte getReportMinute() {
        return reportMinute;
    }

    public void setReportMinute(Byte reportMinute) {
        this.reportMinute = reportMinute;
    }

    public String getCommunicationType() {
        return communicationType;
    }

    public void setCommunicationType(String communicationType) {
        this.communicationType = communicationType;
    }

    public String getUpstreamChannel() {
        return upstreamChannel;
    }

    public void setUpstreamChannel(String upstreamChannel) {
        this.upstreamChannel = upstreamChannel;
    }

    public String getVersionNumber() {
        return versionNumber;
    }

    public void setVersionNumber(String versionNumber) {
        this.versionNumber = versionNumber;
    }

    public String getProductNumber() {
        return productNumber;
    }

    public void setProductNumber(String productNumber) {
        this.productNumber = productNumber;
    }

    @Override
    public String toString() {
        return "DeviceWorkParameters{" +
                "deviceId=" + deviceId +
                ", channel1SwitchStatus=" + channel1SwitchStatus +
                ", channel2SwitchStatus=" + channel2SwitchStatus +
                ", channel1Manual=" + channel1Manual +
                ", channel1Remotely=" + channel1Remotely +
                ", channel1Timing=" + channel1Timing +
                ", channel2Manual=" + channel2Manual +
                ", channel2Remotely=" + channel2Remotely +
                ", channel2Timing=" + channel2Timing +
                ", channel1DimmingLevel=" + channel1DimmingLevel +
                ", channel2DimmingLevel=" + channel2DimmingLevel +
                ", temperature=" + temperature +
                ", humidity=" + humidity +
                ", dewPoint=" + dewPoint +
                ", battery=" + battery +
                ", deviceStatus=" + deviceStatus +
                ", channel1ElectrifyTime=" + channel1ElectrifyTime +
                ", channel2ElectrifyTime=" + channel2ElectrifyTime +
                ", operatingHours=" + operatingHours +
                ", reportHour=" + reportHour +
                ", reportMinute=" + reportMinute +
                ", communicationType='" + communicationType + '\'' +
                ", upstreamChannel='" + upstreamChannel + '\'' +
                ", versionNumber='" + versionNumber + '\'' +
                ", productNumber='" + productNumber + '\'' +
                '}';
    }
}
